import path from "node:path";

export const mainWindow: EWindowOption = {
    // icon: path.join(process.env.VITE_PUBLIC, 'electron-vite.svg'),
    webPreferences: {
        preload: path.join(__dirname, './preload.js'),
    },
    // 设置无边框窗
    frame: false,
    // transparent: true,
    resizable: false,
    minimizable: true,
    title: 'electron-vite-qq',
    maximizable: true,
}

export const otherWindow: EWindowOption = {
    // 设置无边框窗口
    frame: false,
    // 窗口是否透明
    // transparent: true,
    resizable: false,
    minimizable: true,
    width: 700,
    height: 800,
    webPreferences: {
        preload: path.join(__dirname, './preload.js'),
    },
}